﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Users users = new Users();
            users.Name = "admin";
            users.Password = "123";
            users.Hi();

            Books books = new Books();
            books.Id = 897;
            books.Name = "史记";
            books.Price = 100;
            books.Hi();

            Press press = new Press();
            press.Id = 587;
            press.Name = "北京出版社";
            press.Address = "北京";
            press.Hi();

        }
    }
}
